import axios from '@/libs/axios'

//发票列表
export const invoiceList = params => { return axios.post('api/fd/invoiceList', params).then(res => res.data)};
//店铺列表
export const invoiceShops = params => { return axios.post('api/fd/invoiceShops', params).then(res => res.data)};
//获取详情
export const invoiceDetail = params => { return axios.post('api/fd/invoiceDetail', params).then(res => res.data)};
//冲红详情
export const invoiceCHDetail = params => { return axios.post('api/fd/invoiceCHDetail', params).then(res => res.data)};
//新开票信息
export const invoiceNewDetail = params => { return axios.post('api/fd/invoiceNewDetail', params).then(res => res.data)};
//发起冲红申请
export const invoiceApplyCH = params => { return axios.post('api/fd/invoiceApplyCH', params).then(res => res.data)};
//待开发票列表
export const invoiceKpList = params => { return axios.post('api/fd/invoiceKpList', params).then(res => res.data)};
//设置开票、冲红
export const invoiceSetKpch = params => { return axios.post('api/fd/invoiceSetKpch', params).then(res => res.data)};
//设置开票、冲红(多开)
export const invoiceSetKpchMore = params => { return axios.post('api/fd/invoiceSetKpchMore', params).then(res => res.data)};
//获取多合一列表
export const invoiceMoreList = params => { return axios.post('api/fd/invoiceMoreList', params).then(res => res.data)};
//设置开票信息、再次申请开票
export const invoiceSetData = params => { return axios.post('api/fd/invoiceSetData', params).then(res => res.data)};
//申请多单合一开票信息、修改多单合一开票信息
export const invoiceSetMoreData = params => { return axios.post('api/fd/invoiceSetMoreData', params).then(res => res.data)};
//取消多合一开票
export const invoiceCancelMore = params => { return axios.post('api/fd/invoiceCancelMore', params).then(res => res.data)};
